package com.kuang.demo.bean.acgBeanVo;

import lombok.Data;

/**
 * @author ACG
 * @date 2020-11-03 16:12
 */
@Data
public class TotalData {
    //goodsTotal":277,"userTotal":3,"productTotal":283,"orderTotal":188
    Integer goodsTotal;
    Integer userTotal;
    Integer  productTotal;
    Integer orderTotal;
    public static TotalData data(Integer goodsTotal,Integer userTotal,Integer  productTotal,Integer orderTotal){
        TotalData totalData = new TotalData();
        totalData.setGoodsTotal(goodsTotal);
        totalData.setOrderTotal(userTotal);
        totalData.setProductTotal(productTotal);
        totalData.setUserTotal(orderTotal);
        return totalData;
    }
}
